package com.codeoss.framework.view.component.mobile;

import com.codeoss.framework.expression.Expression;
import com.codeoss.framework.view.component.Container;
import com.codeoss.framework.view.component.IDataBindSource;

public class MListView extends Container implements IDataBindSource{
	private String dataSource;
	private boolean editable;
	private String formPageCode;
	private boolean pageable=false;
	private int pageSize=10;
	private Expression onPagination;
	@Override
	public String getType() {
		// TODO Auto-generated method stub
		return "mlistview";
	}

	@Override
	public String getDataSource() {
		// TODO Auto-generated method stub
		return dataSource;
	}

	@Override
	public void setDataSource(String dataSource) {
		// TODO Auto-generated method stub
		this.dataSource=dataSource;
	}

	public boolean isEditable() {
		return editable;
	}

	public void setEditable(boolean editable) {
		this.editable = editable;
	}

	public String getFormPageCode() {
		return formPageCode;
	}

	public void setFormPageCode(String formPageCode) {
		this.formPageCode = formPageCode;
	}

	public boolean isPageable() {
		return pageable;
	}

	public void setPageable(boolean pageable) {
		this.pageable = pageable;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public Expression getOnPagination() {
		return onPagination;
	}

	public void setOnPagination(Expression onPagination) {
		this.onPagination = onPagination;
	}
}
